﻿using Com.Pernix.DAL.MemberDAL.Models;
using FluentNHibernate.Mapping;

namespace Com.Pernix.DAL.MemberDAL.Mapping
{
    public sealed class UserMap : ClassMap<User>
    {
        public UserMap()
        {
            Id(x => x.Username);
            Map(x => x.Password);
            Map(x => x.FirstName);
            Map(x => x.LastName);
            Map(x => x.CreateDate);
            Map(x => x.UpdateDate);
        }
    }
}
